<?php
namespace app\controller;

use app\BaseController;
use app\model\Order as OrderModel;
class Order extends BaseController{
    public function index(){
        $adminlist =  OrderModel::with('adminList')->select();
        return json($adminlist);
    }
}